package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class IntTest2 {
    public static void main(String[] args) {
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        int j=-2147483648;
        //格式决定
        int j2=-j;
        System.out.println(j2);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        String s1 = Integer.toBinaryString(22);
        System.out.println(s1);
        s1 = Integer.toBinaryString(-22);
        System.out.println(s1);
    }
}
